package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 文章标签信息表
 *
 * @TableName ap_article_label
 */
@TableName(value = "ap_article_label")
@Data
public class ApArticleLabel implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    @TableField(value = "article_id")
    private Long articleId;

    /**
     * 标签ID
     */
    @TableField(value = "label_id")
    private Object labelId;

    /**
     * 排序
     */
    @TableField(value = "count")
    private Object count;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}